package com.niiwoo.civet.trade.dto.common;

import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Created by zhoulinquan on 2018/5/13.
 */
@Setter
@Getter
@NoArgsConstructor
public class AmountDTO implements Serializable {
	private static final long serialVersionUID = -797863553663263254L;
	
	private BigDecimal begin;
    private Byte beginQueryType; // 借款利率起查询类型：1大于，2大于等于，3等于
	private BigDecimal end;// 借款利率止
	private Byte endQueryType; //借款利率止查询类型：1小于，2小于等于，3等于

    public AmountDTO(BigDecimal begin, BigDecimal end) {
        this.begin = begin;
        this.end = end;
    }

}
